<extend name="default/template/base" />
<block name="area_header">
    <link rel="stylesheet" href="__PUBLIC__/Webview/css/register.css"/>
</block>
<block name="area_body">
    <div class="wrap">
        <div class="title">
            注册
        </div>
        <div class="line under-line">
        </div>
        <form class="subform" action="{:U('Webview/User/register')}" method="post">
            <div class="content-block under-line js_mobile">
                <input type="text" name="username" placeholder="手机号"/>
            </div>
            <div class="content-block under-line">
                <input type="text" name="code" style="width: 70%" placeholder="请输入验证码"/>
                <a class="ajax-post code-button no-refresh" data-no-refresh="1" target-form="js_mobile" href="{:U('Webview/User/getCode')}">
                    获取验证码
                </a>
            </div>
            <div class="content-block under-line">
                <input type="password" name="password" placeholder="密码"/>
            </div>
            <div class="content-block under-line">
                <input type="text" name="invite_id" placeholder="请输入邀请码(选填)" value="{$invite_id}"/>
            </div>
            <a class="ajax-post" data-no-refresh="1" target-form="subform" href="{:U('Webview/User/register')}">
                <div class="button-block">
                    注册
                </div>
            </a>
            <div class="protocal">
                注册代表同意<a href="http://mw.itboye.com/Public/html/copyright.html" class="protocal-content">《用户服务协议》</a>
            </div>
        </form>
    </div>
</block>
<block name="area_footer">

</block>